#ifndef _POINT_H_
#define _POINT_H_
class Point
{   
public:
    Point():xval(0),yval(0){};
    Point(int x , int y):xval(x), yval(y){};
    int x() const{ return xval;};
    int y() const{ return yval;};
    Point & x(int x) { xval = x; return * this;};
    Point & y(int y) { yval = y; return * this;};
    ~Point();
private:
   int xval;
   int yval;
};

#endif